<#-- 导入模版定义文件-->
<#include "../template/template_editPage.ftl">
<@edit title="课程信息详情">
<body class="input">
	<div class="body">
		<div class="inputBar">
			<h1><span class="icon">&nbsp;</span>课程信息详情</h1>
		</div>
		<form id="inputForm" class="validate">
			<ul class="tab">
				<li>
					<input type="button" value="基本信息" hidefocus="true" />
				</li>
			</ul>
			<table class="inputTable tabContent">
				<tr>
					<th>
						课程编号:
					</th>
					<td>
						${(courseInfo.courseId)!}
					</td>
					<th>
						课程名称:
					</th>
					<td>
						${(courseInfo.courseName)!}
					</td>
                </tr>
                <tr>
                	<th>
						所属课题：
					</th>
					<td>
						<select name="courseInfo.topicName" class="" id="" style="font-size: 14px"  disabled="disabled">
						    <option value="" >请选择课题名称</option>
							<#if topicList??>
                       		<#list topicList as obj>
	                            <option value="${obj.topicId!}" <#if courseInfo?? && obj.topicId == courseInfo.topicId>selected</#if>>
		                           <#if obj.topicName?? && obj.topicName?length gte 15>
			                                <#--//截取输出文字的长度-->
			                                ${obj.topicName?substring(0,15)}...
			                        <#else>
		                                ${(obj.topicName)!}
		                            </#if>
                               </option>
		                        </#list>
		                    </#if>
						</select>
					</td>
                	<th>
						课程子编号：
					</th>
					<td>
						${(courseInfo.courseSubId)!}
					</td>
                </tr>
                <tr>
                	 <th>
                       	 预约时间:
                    </th>
                    <td>
                       <#if courseInfo.beginReservationTime?exists&&courseInfo.beginReservationTime?is_date>
							${((courseInfo.beginReservationTime)!)?string("yyyy-MM-dd")}
						</#if>
						/
						<#if courseInfo.endReservationTime?exists&&courseInfo.endReservationTime?is_date>
							${((courseInfo.endReservationTime)!)?string("yyyy-MM-dd")}
						</#if>
                    </td>
					<th>
						课程日期：
					</th>
					<td>
						<#if courseInfo.courseBeginTime?exists&&courseInfo.courseBeginTime?is_date>
								${((courseInfo.courseBeginTime)!)?string("yyyy-MM-dd")}
						</#if>
						/
						<#if courseInfo.courseEndTime?exists&&courseInfo.courseEndTime?is_date>
								${((courseInfo.courseEndTime)!)?string("yyyy-MM-dd")}
						</#if>
					</td>
                </tr>
                <tr>
					<th>
						活动费用：
					</th>
					<td>
						${(courseInfo.originalPrice)!}元--${(courseInfo.preferentialPrice)!}元
					</td>
                    <th>
                       	 课程限额:
                    </th>
                    <td>
                      	${(courseInfo.courseLimit)!}
                    </td>
					
                </tr>
                 <tr>
					<th>
						发布时间：
					</th>
					<td>
						<#if courseInfo.publishTime?exists&&courseInfo.publishTime?is_date>
								${((courseInfo.publishTime)!)?string("yyyy-MM-dd HH:mm:ss")}
							</#if>
					</td>
					<th>
						修改时间：
					</th>
					<td>
						<#if courseInfo.updateTime?exists&&courseInfo.updateTime?is_date>
								${((courseInfo.updateTime)!)?string("yyyy-MM-dd HH:mm:ss")}
						</#if>
					</td>
                </tr>
                <tr>
                	<th>
						授课教师：
					</th>
					<td>
						<select name="courseInfo.teacherId" class="" style="font-size: 14px" disabled="disabled">
						    <option value="" >请选择</option>
							<#if teacherList??>
                        	<#list teacherList as obj>
	                            <option value="${obj.teacherId!}" <#if courseInfo?? && obj.teacherId == courseInfo.teacherId>selected</#if>>
		                           <#if obj.teacherName?? && obj.teacherName?length gte 15>
			                                <#--//截取输出文字的长度-->
			                                ${obj.teacherName?substring(0,15)}...
			                        <#else>
		                                ${(obj.teacherName)!}
		                            </#if>
                               </option>
		                        </#list>
		                    </#if>
						</select>
					</td>
					<th>
						授课时间：
					</th>
					<td>
						<#if courseInfo.beginTeachTime?exists&&courseInfo.beginTeachTime?is_date>
								${((courseInfo.beginTeachTime)!)?string("yyyy-MM-dd HH:mm:ss")}
						</#if>
						/
						<#if courseInfo.endTeachTime?exists&&courseInfo.endTeachTime?is_date>
								${((courseInfo.endTeachTime)!)?string("yyyy-MM-dd HH:mm:ss")}
						</#if>
					</td>
                </tr>
                <tr>
                	<th>
						发布人：
					</th>
					<td>
						${(courseInfo.userId)!}
					</td>
                	<th>
						课程说明：
					</th>
					<td>
						<textarea rows="8" cols="60" name="courseInfo.introduction" class="formText {}" readonly="readonly">${(courseInfo.introduction)!}</textarea>
					</td>
                </tr>
			</table>
			<div class="buttonArea">
				<input type="button" class="formButton" onclick="window.history.back(); return false;" value="返  回" hidefocus="true" />
			</div>
		</form>
	</div>
</body>
</@edit>
